package com.example.apiproject.dao;/*
    @date 2024/2/17 - 10:07
    @author porter
 */

import com.example.apiproject.entity.ArticlesLabels;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticlesLablesDao {
    //    查询所有标签
    List<ArticlesLabels> queryAllLabels();

    //    添加标签
    void insertLabel(ArticlesLabels label);
    ArticlesLabels selectLabelByContent(String label);
    void updateLabelNum(ArticlesLabels label);
}
